package cn.itcast.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.transaction.annotation.Transactional;

import static org.springframework.transaction.annotation.Propagation.REQUIRES_NEW;

@Mapper
public interface EmpLogMapper {

   /* @Insert("insert into emp_log (id, operate_time, info) values (null,#{operateTime},#{info});")
    @Transactional(propagation = REQUIRES_NEW)
    void insertLog(Op empLog);*/
}
